<header class="settings-view-header">
    {{#link-to "settings" class="btn btn-default btn-back"}}返回{{/link-to}}
    <h2 class="page-title">标签管理</h2>
    <section class="page-actions">
        <button type="button" class="btn btn-green" {{action "newTag"}}>新建</button>
    </section>
</header>

<section class="content settings-tags">
    {{#each tag in tags}}
        <div class="settings-tag">
            <button class="tag-edit-button" {{action "editTag" tag}}>
                <span class="tag-title">{{tag.name}}</span>
                <span class="label label-default">/{{tag.slug}}</span>
                <p class="tag-description">{{tag.description}}</p>
                <span class="tags-count">{{tag.post_count}}</span>
            </button>
        </div>
    {{/each}}
</section>
